class CreateServicesContracts < ActiveRecord::Migration
  def self.up
    create_table :services_contracts, :id => false do |t|
      t.integer :service_id, :contract_id
    end
    
    add_index :services_contracts, [:service_id]
    add_index :services_contracts, [:contract_id]
    
  end

  def self.down
    drop_table :services_contracts
  end
end